package com.acme.task3;

public class Task3Arrays {
	public static void main(String[] args) {
		for (int i = 1; i <= 50; i++) {
			if (i % 3 == 0) System.out.println(i + "divides by 3");
		}
		int n = 4;
		double average = 0;
		int[] array = new int[n];
		for (int i = 0; i < n; i++) {
			array[i] = i+1;
			average += i+1;
		}
		System.out.println("average= "+ average/n);
		

		
	}
}
